GetConsumingEnumerable Method

Task Parallel System.Threading

Overload List

  NameDescription
GetConsumingEnumerable()()()
Provides a consuming IEnumerable<(Of <(T>)>) for items in the collection.
GetConsumingEnumerable(CancellationToken)
Provides a consuming IEnumerable<(Of <(T>)>) for items in the collection. Calling MoveNext on the returned enumerable will block if there is no data available, or will throw an OperationCanceledException if the CancellationToken is canceled.

See Also